package com.spark.userservice.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.spark.basecommon.entity.user.UmsPermission;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 后台用户权限表 服务类
 * </p>
 *
 * @author fuqiang
 * @since 2020-09-29
 */
public interface IUmsPermissionService extends IService<UmsPermission> {
    /**
     * 根据角色id查询权限信息
     * @param roleIds
     * @return
     */
    Set<UmsPermission> findPermissionByRoleIds(List<Long> roleIds);
}
